#pragma once

#include "cocos2d.h"
#include "include.h"

class GameMain : public cocos2d::Scene {
public:
	static cocos2d::Scene* createScene();

	virtual bool init();

	CREATE_FUNC(GameMain);


	static	void			onMouseLeave(void);
	static	void			onMouseMove(void);

	static	GameUI*			GetUILayer(void);
	static  MouseCursor*	GetMouse(void);
	static	Player*			GetPlayer(void);
private:
	GameUI*			_ui;
	MouseCursor*	_mouse;
	Player*			_player;
	GameMap*		_map;
};